<div class="alert border-round">
  <h5>
    {{#t "regrade_options"}}
      Choose a regrade option for students who have already taken the quiz. Canvas will regrade all your submissions after you save the quiz (students' scores MAY be affected).
    {{/t}}
  </h5>
</div>

<div class="regrade-options pad-box-mini">
  <div class="disabled regrade_disabled" style="{{hiddenUnless regradeDisabled}}">
    <span class="regrade_option_text">
    {{#t "regrade_disabled"}}
      Regrading is not allowed on this question because either an answer
      was removed or the question type was changed after a student completed
      a submission.
    {{/t}}
    </span>
  </div>

  <div class="regrade_enabled" style="{{hiddenIf regradeDisabled}}">
    {{#unless multipleAnswer}}
    <label class="checkbox">
      <input type="radio" name="regrade_option" class="regrade_option" value="current_and_previous_correct" {{checkedIf regradeOption "current_and_previous_correct"}}>
      <span class="regrade_option_text">
        {{#t "no_scores_reduced"}}
        Award points for both corrected and previously correct answers (<em>no scores will be reduced</em>)
        {{/t}}
      </span>
    </label>
    {{/unless}}

    <label class="checkbox">
      <input type="radio" name="regrade_option" class="regrade_option" value="current_correct_only" {{checkedIf regradeOption "current_correct_only"}} />
      <span class="regrade_option_text">
        {{#t "some_scores_reduced"}}
          Only award points for the correct answer (<em>some students' scores may be reduced</em>)
        {{/t}}
      </span>
    </label>

    <label class="checkbox">
      <input type="radio" name="regrade_option" class="regrade_option" value="full_credit" {{checkedIf regradeOption "full_credit"}} >
      <span class="regrade_option_text">
        {{#t "give_everyone_full_credit"}}
          Give everyone full credit for this question
        {{/t}}
      </span>
    </label>

    <label class="checkbox">
      <input type="radio" name="regrade_option" class="regrade_option" value="no_regrade" {{checkedIf regradeOption "no_regrade"}} >
      <span class="regrade_option_text">
        {{#t "update_question_without_regrading"}}
          Update question without regrading
        {{/t}}
      </span>
    </label>
  </div>
</div>
